import paramiko
from smb.SMBConnection import  SMBConnection
from nmb.NetBIOS import NetBIOS
import urllib.request
def connect_ssh():
    hostname = '192.168.50.15'
    port = 22
    username = 'username'
    password = 'password'
    client = paramiko.SSHClient()
    client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
    try:
        client.connect(hostname=hostname,port=port)
        print('ok')
    except Exception as e:
        print(e)
    client.close()

def check_ftp():
    ftp = paramiko.Transport('')
    ftp.open()
#connect_ssh()
